
package ${package}.repository;

import ${package}.com.be.beadmin.device.entity.${className};
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author ${author}
* @date ${date}
**/
public interface ${className}Repository extends JpaRepository<${className}, String>, JpaSpecificationExecutor<${className}> {

    ${className} find${className}ByIdAndDelete(String id, Integer delete);

    ${className} find${className}ById(String id);

}